<?
@include('../../pers/inc.config.php');
if (!defined('R2_GR2_COLORE_SFONDO')) {
	define('R2_GR2_COLORE_SFONDO','FF4040');
	define('R2_GR2_COLORE_TESTO','040404');
}
$coloreSfondo = R2_GR2_COLORE_SFONDO;
$coloreTesto  = R2_GR2_COLORE_TESTO;
$aColori['css'] = array();
$aColori['css']['tit1'] = array($coloreTesto,$coloreSfondo,'');
$aColori['css']['tit2'] = array($coloreTesto,$coloreSfondo,'');
$aColori['css']['tab1'] = array('','','');
$aColori['css']['lab1'] = array('#000000','#d6d6d6','');  
$aColori['css']['lab2'] = array('#000000','#CACACA','');  
$aColori['css']['txt1'] = array('#000000','#f6f6f6','');
$aColori['css']['txt2'] = array('#000000','#e6e6e6','');
$aColori['css']['inp1'] = array('#000000','#ffffff','');
$aColori['css']['cmd1'] = array('#808080','','#000000');
$aColori['css']['err1'] = array('#ff0000','#ffffff','');  
$fontSize = 8;
$fontFamily = 'arial,helvetica';
$fontFamilyCod = 'lucida console,courier;';
header('Content-type: text/css');
$colCss = $aColori['css'];
$bordiArrot = "border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;";
?>
form {
	margin: 0;
}
.tit1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize+2?>pt;
   font-weight:bold;
   <?=($colCss['tit1'][0]=='')?'':'color:'.$colCss['tit1'][0].';';?>
   <?=($colCss['tit1'][1]=='')?'':'background-color:'.$colCss['tit1'][1].';';?>
}

.tit2 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize+4?>pt;
   font-weight:bold;
   <?=($colCss['tit2'][0]=='')?'':'color:'.$colCss['tit2'][0].';';?>
   <?=($colCss['tit2'][1]=='')?'':'background-color:'.$colCss['tit2'][1].';';?>
}


.lab1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   font-weight:normal;
   <?=($colCss['lab1'][0]=='')?'':'color:'.$colCss['lab1'][0].';';?>
   <?=($colCss['lab1'][1]=='')?'':'background-color:'.$colCss['lab1'][1].';';?>
}
.lab2 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   font-weight:normal;
   <?=($colCss['lab2'][0]=='')?'':'color:'.$colCss['lab2'][0].';';?>
   <?=($colCss['lab2'][1]=='')?'':'background-color:'.$colCss['lab2'][1].';';?>
}
.tab1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['tab1'][0]=='')?'':'color:'.$colCss['tab1'][0].';';?>
   <?=($colCss['tab1'][1]=='')?'':'background-color:'.$colCss['tab1'][1].';';?>
}
.txt1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt1'][0]=='')?'':'color:'.$colCss['txt1'][0].';';?>
   <?=($colCss['txt1'][1]=='')?'':'background-color:'.$colCss['txt1'][1].';';?>
}

a.txt1:link, a.txt1:visited,a.txt1:active,a.txt1:hover {
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt1'][0]=='')?'':'color:'.$colCss['txt1'][0].';';?>
   <?=($colCss['txt1'][1]=='')?'':'background-color:'.$colCss['txt1'][1].';';?>
}

.txt2 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt2'][0]=='')?'':'color:'.$colCss['txt2'][0].';';?>
   <?=($colCss['txt2'][1]=='')?'':'background-color:'.$colCss['txt2'][1].';';?>
}

a.txt2:link, a.txt2:visited,a.txt2:active,a.txt2:hover {
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt2'][0]=='')?'':'color:'.$colCss['txt2'][0].';';?>
   <?=($colCss['txt2'][1]=='')?'':'background-color:'.$colCss['txt2'][1].';';?>
}

.cod1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamilyCod?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt1'][0]=='')?'':'color:'.$colCss['txt1'][0].';';?>
   <?=($colCss['txt1'][1]=='')?'':'background-color:'.$colCss['txt1'][1].';';?>
}

a.cod1:link, a.cod1:visited,a.cod1:active,a.cod1:hover {
   font-family:<?=$fontFamilyCod?>;
   font-size: <?=$fontSize?>pt;
   <?=($colCss['txt1'][0]=='')?'':'color:'.$colCss['txt1'][0].';';?>
   <?=($colCss['txt1'][1]=='')?'':'background-color:'.$colCss['txt1'][1].';';?>
}

.inp1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   color: #000000;
   border-style:inset;
   background-color:#ffffff;
}
.inp1cb {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   color: #000000;
   border-style:none;
}

.err1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   font-weight:bold;
   <?=($colCss['err1'][0]=='')?'':'color:'.$colCss['err1'][0].';';?>
   <?=($colCss['err1'][1]=='')?'':'background-color:'.$colCss['err1'][1].';';?>
}

.btn1 {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   BACKGROUND: none; 
   TEXT-DECORATION: underline;
   CURSOR: pointer;
   border-width: 0;
   <?=($colCss['cmd1'][0]=='')?'':'color:'.$colCss['cmd1'][0].';';?>
   <?=($colCss['cmd1'][1]=='')?'':'background-color:'.$colCss['cmd1'][1].';';?>
}
.cmd1,.cmd1:link,.cmd1:visited,.cmd1:active {
   <?=$bordiArrot?>
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   font-weight:bold;
   <?=($colCss['cmd1'][0]=='')?'':'color:'.$colCss['cmd1'][0].';';?>
   <?=($colCss['cmd1'][1]=='')?'':'background-color:'.$colCss['cmd1'][1].';';?>
}

.cmd1:hover {
   font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize?>pt;
   font-weight:bold;
   <?=($colCss['cmd1'][2]=='')?'':'color:'.$colCss['cmd1'][2].';';?>
   <?=($colCss['cmd1'][1]=='')?'':'background-color:'.$colCss['cmd1'][1].';';?>
}
